﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Diagnostics;

namespace Flickr2Frame
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            foreach (string arg in args)
            {
                Debug.WriteLine(arg);

                switch (arg.ToUpper())
                {
                    case "/FLUSH":
                        PublicVariables.flushCache = true;
                        PublicVariables.additionalTasks += 1;
                        break;
                }
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Flickr2Frame());
        }
    }
}
